package chapter10.eg12;

public class PhoneNumber {
  private int code;
  private String number;

  public PhoneNumber(int code,String number){
    this.code = code;
    this.number = number;
  }

  public int getCode() {
    return code;
  }
  public void setCode(int code) {
    this.code = code;
  }
  public String getNumber() {
    return number;
  }
  public void setNumber(String number) {
    this.number = number;
  }

}
